package org.lesBonsComptes.android.feedPlayer;

import java.util.ArrayList;

public class Event {
	private long id;
	private String name;
	private ArrayList<SubEvent> subEvents;
	private ArrayList<User> users;

	
	public Event(long id, String name, ArrayList<SubEvent> subEvents, ArrayList<User> users) {
		super();
		this.id = id;
		this.name = name;
		this.subEvents = subEvents;
		this.users = users;
	}
	
	
	
	public Event() {
		super();
		this.subEvents = new ArrayList<SubEvent>();
		this.users = new ArrayList<User>();
	}

	public ArrayList<User> getUsers() {
		return users;
	}

	public void setUsers(ArrayList<User> users) {
		this.users = users;
	}



	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}



	public ArrayList<SubEvent> getSubEvents() {
		return subEvents;
	}

	public void setSubEvents(ArrayList<SubEvent> subEvents) {
		this.subEvents = subEvents;
	}



	@Override
	public String toString() {
		return "Event [id=" + id + ", name=" + name + ", subEvents="
				+ subEvents + ", users=" + users + "]";
	}
	
	
}
